//
//  UIView+YKFrame.h
//  baisi
//
//  Created by 吴高烽 on 16/8/29.
//  Copyright © 2016年 吴高烽. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (YKFrame)
@property (nonatomic ,assign)CGFloat width;
@property (nonatomic ,assign)CGFloat height;
@property (nonatomic ,assign)CGFloat x;
@property (nonatomic ,assign)CGFloat y;
@property (nonatomic ,assign)CGFloat centerX;
@property (nonatomic ,assign)CGFloat centerY;
@property (nonatomic ,assign)CGSize  size;
/**
 当前视图是否在主窗口上
 @param BOOL YES：在
 */
-(BOOL)isShowOnKeyWindow;
@end
